package day13;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import java.util.Scanner;

public class TestJunit {
    public static void main(String[] args) {
        String name=Thread.currentThread().getName();
        System.out.println(name);
    }

    @Test
    public void test() {
        System.out.println("Hello World");
//        String name=Thread.currentThread().getName();
//        System.out.println(name);
//        Scanner sc=new Scanner(System.in);
//        String str=sc.next();
//        System.out.println(str);
    }

    @Test
    public void test2() {
        System.out.println("Hello World");
    }

    @Before
    public void aaa(){
        System.out.println("测试前");
    }

    @After
    public void bbb(){
        System.out.println("测试后");
    }
}
